import request from '@/utils/request'
export function getExaminationActive(userRole) {
  return request({
    url: 'exam/com.primeton.eos.trainManagement.getExaminationActive.biz.ext',
    method: 'post',
    data: {
      'userRole': userRole
    }
  })
}
export function settingTrainTime(active_id, train_notice) {
  return request({
    url: 'exam/com.primeton.eos.trainManagement.settingTrainTime.biz.ext',
    method: 'post',
    data: {
      'active_id': active_id,
      'train_notice': train_notice
    }
  })
}
export function getExaminationActiveTime(active_id) {
  return request({
    url: 'exam/com.primeton.eos.trainManagement.getExaminationActiveTime.biz.ext',
    method: 'post',
    data: {
      'active_id': active_id
    }
  })
}
export function getTrainResult(pageSize, pageNumber, active_name, gender, department_code, teacher_type_code, username, import_time) {
  return request({
    url: 'exam/com.primeton.eos.trainManagement.trainResult.biz.ext',
    method: 'post',
    data: {
      'pageSize': pageSize,
      'pageNumber': pageNumber,
      'active_name': active_name,
      'gender': gender,
      'department_code': department_code,
      'teacher_type_code': teacher_type_code,
      'username': username,
      'import_time': import_time
    }
  })
}
